package com.ocean.productDict.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ocean.common.annotation.Excel;
import com.ocean.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 晚传显示对象 o_product_late_time
 *
 * @author ocean
 * @date 2023-01-11
 */
public class OProductLateTime extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 创建人名称 */
    @Excel(name = "创建人名称")
    private String createName;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 创建人名称 */
    @Excel(name = "创建人名称")
    private String updateName;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /** 晚传显示名称 */
    @Excel(name = "晚传显示名称")
    private String lateName;

    /** 晚传设置时间 */
    @Excel(name = "晚传设置时间")
    private String lateCode;

    /** 排序 */
    @Excel(name = "排序")
    private Long sortOrder;

    /** 组织机构id */
    @Excel(name = "组织机构id")
    private String departId;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setCreateName(String createName)
    {
        this.createName = createName;
    }

    public String getCreateName()
    {
        return createName;
    }
    public void setCreateDate(Date createDate)
    {
        this.createDate = createDate;
    }

    public Date getCreateDate()
    {
        return createDate;
    }
    public void setUpdateName(String updateName)
    {
        this.updateName = updateName;
    }

    public String getUpdateName()
    {
        return updateName;
    }
    public void setUpdateDate(Date updateDate)
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate()
    {
        return updateDate;
    }
    public void setLateName(String lateName)
    {
        this.lateName = lateName;
    }

    public String getLateName()
    {
        return lateName;
    }
    public void setLateCode(String lateCode)
    {
        this.lateCode = lateCode;
    }

    public String getLateCode()
    {
        return lateCode;
    }
    public void setSortOrder(Long sortOrder)
    {
        this.sortOrder = sortOrder;
    }

    public Long getSortOrder()
    {
        return sortOrder;
    }
    public void setDepartId(String departId)
    {
        this.departId = departId;
    }

    public String getDepartId()
    {
        return departId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createName", getCreateName())
            .append("createBy", getCreateBy())
            .append("createDate", getCreateDate())
            .append("updateName", getUpdateName())
            .append("updateBy", getUpdateBy())
            .append("updateDate", getUpdateDate())
            .append("lateName", getLateName())
            .append("lateCode", getLateCode())
            .append("sortOrder", getSortOrder())
            .append("departId", getDepartId())
            .toString();
    }
}
